package com.eric.service;

import cn.dev33.satoken.util.SaResult;
import com.eric.domain.dto.ProjectDTO;
import com.eric.domain.vo.ProjectVO;
import com.mybatisflex.core.service.IService;
import com.eric.domain.po.Project;

import java.util.List;

/**
 *  服务层。
 *
 * @author eric.deng
 * @since 2025-03-05
 */
public interface ProjectService extends IService<Project> {


    SaResult updateByIdService(ProjectDTO projectDTO);

    SaResult saveOneService(ProjectVO projectVO);

    SaResult getListByPageService(Integer cur, Integer pageSize);

    SaResult getProjectListByNameService(String name, Integer cur, Integer pageSize);

   SaResult getProjectListByNameCountService(String name);
}
